/*
*  Copyright 2019-2025 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.basic.domain;

import lombok.Data;
import cn.hutool.core.bean.BeanUtil;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.bean.copier.CopyOptions;
import java.math.BigDecimal;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
* @description /
* @author ly
* @date 2025-04-24
**/
@Data
@TableName("basic_ac01")
public class BasicAc01 implements Serializable {

    @TableId(value = "aac001")
    @ApiModelProperty(value = "个人编号")
    private String aac001;

    @NotBlank
    @ApiModelProperty(value = "身份证号码")
    private String aac002;

    @ApiModelProperty(value = "老身份证号码")
    private String aac002_l;

    @NotBlank
    @ApiModelProperty(value = "姓名")
    private String aac003;

    @NotBlank
    @ApiModelProperty(value = "性别")
    private String aac004;

    @NotBlank
    @ApiModelProperty(value = "民族")
    private String aac005;

    @NotNull
    @ApiModelProperty(value = "出生日期")
    private Date aac006;

    @ApiModelProperty(value = "档案出生日期")
    private Date aac327;

    @NotBlank
    @ApiModelProperty(value = "证件类型")
    private String aac058;

    @ApiModelProperty(value = "参工日期")
    private Date aac007;

    @ApiModelProperty(value = "备注")
    private String aae013;

    @ApiModelProperty(value = "户口性质")
    private String aac009;
    @ApiModelProperty(value = "户口地址")
    private String aac010;
    @ApiModelProperty(value = "联系电话")
    private String aac067;
    @ApiModelProperty(value = "居住地址")
    private String aae006;
    @ApiModelProperty(value = "账户类型")
    private String aae473;
    @ApiModelProperty(value = "经办人")
    private String aae011;
    @ApiModelProperty(value = "经办时间")
    private String aae036;



    public void copy(BasicAc01 source){
        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
    }
}
